package com.vue.power.backend.sys.controller;

import com.vue.power.backend.common.base.controller.BaseController;
import com.vue.power.backend.common.base.service.BaseService;
import com.vue.power.backend.sys.entity.User;
import com.vue.power.backend.sys.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/user")
public class UserController extends BaseController<User> {

    @Autowired
    private UserService userService;

    @Override
    protected BaseService<User> getService() {
        return this.userService;
    }


}
